<br>
<table width="80%"  cellspacing="5" cellpadding="0" border="0">
	<% fields_for :dutdetran do |dutdetran| %>
	<tr>
		<td  width="20%" align="center"> 
			<table border="0" height="20">
				<tr>
					<td width="50%" nowrap="true" align="right" height="20">
						<label for="codigo_detran" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Código do Detran: </label>
					</td>
					<td align="left" height="20" width="50%">
						<%= dutdetran.text_field 'codigo_detran' ,:size => 7  ,:class =>'inputText' %>
					</td>
				</tr>
			</table>
		</td>
		<td width="80%">
			<table border="0" height="20" cellpadding=0" cellspacing="0">
				<tr>
					<td width="150" nowrap="true" align="right" height="20">
						<label for="codigo_renavam" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Código do Renavam: </label>
					</td>
					<td align="right" height="20">
						<%= dutdetran.text_field 'codigo_renavam' ,:size => 7  ,:class =>'inputText' %>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td  width="20%" align="center"> 
			<table border="0" height="20">
				<tr>
					<td  width="50%"  nowrap="true" align="right" height="20">
						<label for="codigo_detran" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Ano do exercicio: </label>
					</td>
					<td align="left"   width="50%"  height="20">
						<%= dutdetran.text_field 'exercicio_ano' ,:size => 4 ,:maxlength =>4 ,:class =>'inputText' %>
					</td>
				</tr>
			</table>
		</td>
		<td width="80%">
			<table border="0" height="20"  cellpadding=0" cellspacing="0">
				<tr>
					<td width="150" nowrap="true" align="right" height="20">
						<label for="seguro_dpvat" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Seguro Dpvat: </label>						
					</td>
					<td align="right" height="20" >
						<%= dutdetran.text_field 'seguro_dpvat' ,:size => 7  ,:class =>'inputText' %>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td  width="20%" align="center"> 
			<table border="0" height="20">
				<tr>
					<td width="50%"  nowrap="true" align="right" height="20">
						<label for="categoria" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Categoria: </label>
					</td>
					<td align="left" width="50%"  height="20">
						<%= text_field 'dutdetran', 'categoria' ,:size => 12  ,:class =>'inputText' %>
					</td>
				</tr>
			</table>
		</td>
		<td width="80%">
			<table border="0" height="20" cellpadding=0" cellspacing="0">
				<tr>
					<td width="150" nowrap="true" align="right" height="20">
						<label for="chassi" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Chassi: </label>
					</td>
					<td align="right" height="20">
						<%= text_field 'dutdetran', 'chassi' ,:size => 17  ,:class =>'inputText' %>	
					</td>
				</tr>
			</table>
		</td>
	</tr>		
	<tr>
		<td  width="20%"> 
			<table border="0" height="20">
				<tr>
					<td width="200" nowrap="true" align="center" height="20">
						<label for="data_emissao" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Data da Emissao </label>
					</td>
				</tr>
				<tr>
					<td align="left" height="20">
						<%= date_select('dutdetran', 'data_emissao', :order => [:day,:month,:year])%>
					</td>	
				</tr>				
			</table>
		</td>
		<td width="80%">
			<table border="0" height="20">
				<tr>
					<td width="250" height="20" nowrap="true" align="right">
						<label for="data_emissao_seguro_dpvat" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Data de Emissao do Seguro do Dpvat </label>
					</td>
				</tr>
				<tr>
					<td align="right"  height="20">
						<%= date_select('dutdetran', 'data_emissao_seguro_dpvat', :order => [:day,:month,:year])%>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td  width="20%"> 
			<table border="0" height="20">
				<tr>
					<td width="55" nowrap="true" align="right" height="20">
						<label for="cap" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Cap </label>
			
					</td>
					<td width="55" height="20" nowrap="true" align="right">
						<label for="pot" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Pot </label>
					</td>
					<td width="55" height="20" nowrap="true" align="right">
						<label for="cil" class="labelFieldHeader"><span class="campoObrigatorio">*</span> Cil </label>
					</td>
				</tr>
				<tr>
					<td align="right" height="20">
						<%= text_field 'dutdetran', 'cap' ,:size => 12  ,:class =>'inputText' %>/
					</td>	
					<td align="right"  height="20">
						<%= text_field 'dutdetran', 'pot' ,:size => 12  ,:class =>'inputText' %>/
					</td>
					<td align="right"  height="20">
						<%= text_field 'dutdetran', 'cil' ,:size => 12  ,:class =>'inputText' %>
					</td>	
				</tr>
			</table>
		</td>
		<td width="80%" align="left">
			<table border="0" height="20"  cellpadding=0" cellspacing="0">
				<tr>
					<td width="250" height="20" nowrap="true" align="right">
						
					</td>
					<td align="left"  height="20">
						
					</td>	
				</tr>
			</table>
		</td>
	</tr>			
<% end %>
</table>
